Skip to main content
Version: 11.x

Type alias: TRPCFetch

TRPCFetch: (url, options?) => Promise< ResponseEsque >

The default fetch implementation has an overloaded signature. By convention this library only uses the overload taking a string and options object.

Parameters

ParameterType
urlstring
options?RequestInit

Returns

Promise< ResponseEsque >

Source

packages/client/src/links/types.ts:54


Generated using TypeDoc and typedoc-plugin-markdown